home *** CD-ROM | disk | FTP | other *** search
- /*
- * @(#)java_md.h 1.3 98/08/14
- *
- * Copyright 1998 by Sun Microsystems, Inc.,
- * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
- * All rights reserved.
- *
- * This software is the confidential and proprietary information
- * of Sun Microsystems, Inc. ("Confidential Information"). You
- * shall not disclose such Confidential Information and shall use
- * it only in accordance with the terms of the license agreement
- * you entered into with Sun.
- */
-
- #ifndef JAVA_MD_H
- #define JAVA_MD_H
-
- #include <windows.h>
-
- #define PATH_SEPARATOR ';'
- #define FILE_SEPARATOR '\\'
- #define MAXPATHLEN MAX_PATH
-
- #ifdef JAVA_ARGS
- /*
- * ApplicationHome is prepended to each of these entries; the resulting
- * strings are concatenated (seperated by PATH_SEPARATOR) and used as the
- * value of -cp option to the launcher.
- */
- #ifndef APP_CLASSPATH
- #define APP_CLASSPATH { "\\lib\\tools.jar", "\\classes" }
- #endif
- #endif
-
- /*
- * Support for doing cheap, accurate interval timing.
- */
- extern jlong CounterGet(void);
- extern jlong Counter2Micros(jlong counts);
-
- #ifdef JAVAW
- #define main _main
- extern int _main(int argc, char **argv);
- #endif
-
- #endif
-